package pl.edu.pw.ee.buildcity.services.api;

import pl.edu.pw.ee.buildcity.domain.BuildStatus;

import java.io.File;

/**
 * @author mgrzechocinski
 * @since 2009-10-18
 */
public interface BuilderService {

	/**
	 * Performs given build command on given working copy.
	 *
	 * @param workingCopy
	 * @param buildCommand
	 * @return result of build
	 * @see pl.edu.pw.ee.buildcity.domain.BuildStatus
	 */
	public abstract BuildStatus build(File workingCopy, String buildCommand);
}
